package com.ctshk.rpc.finance.req.onaccount;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 申请销账-选择挂账明细列表Req
 */
@Data
@ApiModel(value = "OnAccountDetailListReq",description = "申请销账-选择挂账明细列表Req")
public class OnAccountDetailListReq extends PageReq implements Serializable {

    @NotNull(message = "挂账ID不能为空")
    @ApiModelProperty(value = "挂账ID",required = true)
    private Long onAccountId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "创建时间开始")
    private LocalDateTime createTimeBegin;

    @ApiModelProperty(value = "创建时间结束")
    private LocalDateTime createTimeEnd;

    @ApiModelProperty(value = "产品编号/团号")
    private String productNumber;

    @ApiModelProperty(value = "收退款类型 1 收款,2 退款")
    private Integer billType;

    @ApiModelProperty(value = "收款方式ID")
    private Long collectionWayId;

    @ApiModelProperty(value = "收退款单号")
    private String billNumber;

    @ApiModelProperty(value = "產品名稱")
    private String resourceInfo;

    @ApiModelProperty(value = "业务类型集合")
    private List<Integer> businessTypes;

    @ApiModelProperty(value = "销售人员ID")
    private Long saleUserId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

}
